<%@ page contentType="text/html;charset=utf-8" %>


<html>
<head>
	<title>javaBean</title>
</head>
<body>

	<jsp:useBean id="circle" class="tom.jiafei.Circle" scope="page" />

	<p>
		圆的初始半径是：<%= circle.getRadius() %>
	</p>
	<%
		double newRadius = 100;
		circle.setRadius(newRadius);
	%>

	<p>
		修改圆的半径为<%= newRadius %>
		<br>目前圆的半径是：<%= circle.getRadius() %>
		<br>目前圆的周长是：<%= circle.circleLength() %>
		<br>目前圆的面积是：<%= circle.circleArea() %>
	</p>
	

</body>
</html>